package com.chen.blog.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "file.root")
@Data
public class CustomServerConfig {
    private String directory;
    private String url;
    private boolean remote;
    private String accessKey;
    private String secretKey;
    private String bucket;
    private Integer zoneIndex;
}
